{% extends 'base.html' %}
{% block content %}
<h2>订单详情</h2>
<table class="table">
    <tr><th>订单号</th><td>{{ order.order_no }}</td></tr>
    <tr><th>套餐</th><td>{{ order.package }}</td></tr>
    <tr><th>卡数量</th><td>{{ order.card_count }}</td></tr>
    <tr><th>金额</th><td>{{ order.amount }}</td></tr>
    <tr><th>收件人</th><td>{{ order.receiver }}</td></tr>
    <tr><th>收货电话</th><td>{{ order.delivery_phone }}</td></tr>
    <tr><th>收货地址</th><td>{{ order.delivery_address }}</td></tr>
    <tr><th>备注</th><td>{{ order.remark }}</td></tr>
    <tr><th>状态</th><td>{{ order.get_status_display }}</td></tr>
    <tr><th>创建时间</th><td>{{ order.created_at }}</td></tr>
    <tr><th>支付时间</th><td>{{ order.paid_at|default_if_none:'' }}</td></tr>
</table>
<a href="/orders/" class="btn btn-secondary">返回列表</a>
{% endblock %}
